﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Brjostagjof.Models.ViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Brjóstagjöf - Stofna Barn
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h1>Stofna barn</h1>
   <% using (Html.BeginForm()) {%>
            <%: Html.ValidationSummary(true) %>
               <% Html.RenderPartial("PartialViews/BarnaInput", Model); %>  
       <% } %>
   <p class= "tilbaka">
        <%: Html.ActionLink("Til Baka", "MittSvaedi") %>
   </p>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="Actions" runat="server" >
    <%Html.RenderPartial("PartialViews/Actions", "Barn"); %>
</asp:Content>